<template>
  <div id="app">
    <!-- <img src="./assets/logo.png"> -->
    <van-tabbar v-model="active">
      <van-tabbar-item icon="wap-home">
        <router-link to="/home">首页</router-link>
      </van-tabbar-item>
      <van-tabbar-item icon="wap-nav">
        <router-link to="/classify">分类</router-link>
      </van-tabbar-item>
      <van-tabbar-item icon="shopping-cart" badge="5">
        <router-link to="/shopCar">购物车</router-link>
      </van-tabbar-item>
      <van-tabbar-item icon="manager">
        <router-link to="/personal">个人中心</router-link>
      </van-tabbar-item>
    </van-tabbar>
    <router-view />
  </div>
</template>

<script>
import {getPersonInformation} from './api/shop-api/shop-api'
export default {
  name: "App",
  data() {
    return {
      active: ""
    };
  },
  created(){
    // 异步问题用promise解决
   

  }
};
</script>

<style scoped>

</style>
